<?php
/*
 * @Author: your name
 * @Date: 2021-12-28 21:00:34
 * @LastEditTime: 2021-12-28 21:33:02
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE，
 * @FilePath: \Blog.com\app\api\controller\Error.php
 */

namespace app\api\controller;

class Error
{
    public function __call($name, $arguments)
    {
        $result = [
            'status' => config('status.error'),
            'message' => '找不到该控制器',
            'result' => null
        ];
        return json($result, 404);
    }
}
